import request from "@/utils/request";

export function getListCarousel() {
    return request({
        url: '/carousel/getListCarousel',
        method: 'post'
    });
}

export function deleteCarouselById(params) {
    return request({
        url: '/carousel/deleteCarouselById',
        method: 'post',
        params
    });
}

export function addCarousel(params) {
    return request({
        url: '/carousel/addCarousel',
        method: 'post',
        params
    });
}